package edu.umd.ion.wavemeter.service;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Datastructure for a single interferometer pattern
 * @author pmaunz
 *
 */
public class PatternData implements IsSerializable {
	/**
	 *  Channel index
	 */
	public int Channel;
	/**
	 * Pattern index
	 */
	public int Index;
	/**
	 * Pattern length
	 */
	public int Length;
	/**
	 * Pattern element size
	 */
	public int ElementSize;
	/**
	 * Hold the data in case the datatype is short
	 */
	public short ShortPattern[];
	/**
	 * Holds the data in case the datatype is int
	 */
	public int IntPattern[];
	/**
	 * Number of point that were averaged
	 */
	public int Average;
	/**
	 * wavemeter timestamp when the pattern was measure
	 */
	public long Timestamp;
}
